OTP\Handler\Forms\NinjaForm S

Total Complexity 41
Dependencies 6
Dependents 0
Total lines 184
Lines of code 111
Logical lines of code 74
Comment lines 0
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
handleForm()
S
62 5 10
handleFormOptions()
S
60 4 12
checkIfOTPOptions()
S
73 4 4
processPhone()
S
66 3 8
processEmail()
S
66 3 8
miniorange_ninja_form_user()
S
63 3 10
getPhoneNumberSelector()
S
70 3 6
parseFormDetails()
S
64 3 9
checkIfNinjaFormSubmitted()
S
78 2 3
isPhoneVerificationEnabled()
S
75 2 4
isEmailVerificationEnabled()
S
75 2 4
_handle_ninja_form_submit()
S
67 2 7
handle_failed_verification()
S
68 2 7
__construct()
S
60 1 13
handle_post_verification()
S
83 1 3
unsetOTPSessionVariables()
S
79 1 3